The answer to the previous puzzle.
Both boys row to the other bank, one gets out.
The second one rows back, there a soldier gets in and rows to the other bank.
There the boy gets in, rows to the first bank, picks up the second boy, they row to the other bank.
Repeat N times, profit!
New puzzle.